package cn.itcast.service;

import cn.itcast.domain.Account;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

public interface AccountService {

    List<Account> findAll();
    void delete(Integer id);
    void update(Account account);
    void add(Account account);
}
